package com.example.orderserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.orderserver.entity.OrderInfo;
import com.example.orderserver.params.PageOrderParams;
import com.example.orderserver.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<OrderInfo> {

    List<OrderVO> pageOrder(PageOrderParams pageOrderParams);

    OrderVO getOrderById(String id);
}
